package com.money.coupon.feign;


import com.money.common.dto.SkuReductionTO;
import com.money.common.dto.SpuBoundsTO;
import com.money.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("coupon")
public interface CouponFeignService {

    @PostMapping("/coupon/spubounds/save")
    R saveBounds(@RequestBody SpuBoundsTO spuBounds);


    @PostMapping("coupon/skufullreduction/saveInfo")
    R saveSkuReduction(@RequestBody SkuReductionTO skuReductionTO);
}
